require('./static/css/icon.css');
require('./static/css/pages.scss');
require('./static/css/reset.css');

import React from 'react';
import ReactDOM from 'react-dom';
import {Provider} from 'react-redux';
import {hashHistory} from 'react-router';
import {syncHistoryWithStore} from 'react-router-redux';

import App from './containers/app';
import configureStore from './stores';
const store = configureStore();
const history = syncHistoryWithStore(hashHistory, store)

store.subscribe(function(){

})

ReactDOM.render(
  <Provider store={store}>
    <App history={history} store={store} />
  </Provider>,
  document.getElementById('zd')
)
